package com.mrjy.coursepackage.dao;

import java.util.List;

import com.mrjy.common.entity.CoursepackageVideoTypeRel;
import com.mrjy.coursepackage.dto.CoursePackageVideoTypeDTO;

public interface ICoursepackageVideoTypeRelDao {
    int deleteByPrimaryKey(Integer id);

    int insert(CoursepackageVideoTypeRel record);

    int insertSelective(CoursepackageVideoTypeRel record);

    CoursepackageVideoTypeRel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CoursepackageVideoTypeRel record);

    int updateByPrimaryKey(CoursepackageVideoTypeRel record);
    
    public List<Integer> selectTypeIdListByCoursePackageId(Integer coursePackageId);

	List<CoursePackageVideoTypeDTO> selectByCoursePackageId(Integer id);

	int deleteByCoursepkId(Integer id);
}